package com.gzy.xuexiziliao.service;

import com.gzy.xuexiziliao.common.result.PageResult;
import com.gzy.xuexiziliao.pojo.entity.Admin;

import java.time.LocalDate;
import java.util.List;

public interface AdMinService {


    Admin login(Admin admin);

    void save(Admin admin);

    Admin getById(Integer id);

    void update(Admin admin);

    PageResult page(Integer page, Integer pageSize, String name, Short gender, LocalDate begin, LocalDate end);

    void delete(List<Integer> ids);

    List<Admin> getByName(String name);
}